package com.tensquare.manager;

import com.tensquare.common.util.JwtUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.Bean;

/**
 * @author fangyu
 * @version v1.0.0
 * @date 2020/10/15 6:25 下午
 */
@EnableZuulProxy
@SpringBootApplication
public class ZuulApplication {
    public static void main(String[]args){
        SpringApplication.run(ZuulApplication.class, args);
    }

    @Bean
    public JwtUtil jwtUtil(){
        return new JwtUtil();
    }
}
